package com.ygqh.baby.service;
import java.util.Date;
import java.util.List;

import  com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import  com.ygqh.baby.po.AdminInvoice;

public interface AdminInvoiceService {

    
    List<AdminInvoice> find();
	int findCount();
	AdminInvoice findById(Long id);
	int deleteSoft(Long[] ids);
	int deleteSoft(Long id);
	int save(AdminInvoice adminInvoice );
	int update(AdminInvoice adminInvoice);
	int saveOrUpdate(AdminInvoice adminInvoice);	
	ResultSet<AdminInvoice> search(QueryInfo queryInfo, String q,
			String applyPerson, Date startDate, Date endDate, String invoiceTitle);
	Boolean isExistsInvoice(Long id, String invoiceNo);
	
    
}
